package com.weng.platform.apiManager.mock.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weng.framework.dao.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * api的mock数据实体Bean
 *
 * @author wenghui
 * @date 2020-09-22 13:44:15
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("api_mock")
public class ApiMock extends BaseEntity<ApiMock> {

    private static final long serialVersionUID = 1L;
	
	
	/**
     * id
     */
	 @TableField(value="id")
	private String id;
	
	
	/**
     * 项目id
     */
	 @TableField(value="project_id")
	private String projectId;
	
	
	/**
     * url
     */
	 @TableField(value="url")
	private String url;
	
	
	/**
     * 参数
     */
	 @TableField(value="params")
	private String params;
	
	
	/**
     * mock数据
     */
	 @TableField(value="mock")
	private String mock;
	
	
	/**
     * 删除状态1册除0未删除
     */
	 @TableField(value="is_del")
	private Integer isDel;
	
	
	/**
     * 创建时间
     */
	 @TableField(value="create_time",fill = FieldFill.INSERT)
	private Date createTime;
	
	
	/**
     * 修改时间
     */
	 @TableField(value="update_time",fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
	
	
}
